
import financeapi.*;

public class TestGUI
{
	public static void main(String args[])
	{
		AuthorizeController controller = new AuthorizeController();
		TestAuthorizeCallback callback = new TestAuthorizeCallback();
		controller.AuthorizeSale(callback, 200.00f, "Credit");
		while(callback.keepWaiting())
		{
			try
			{
				Thread.sleep(1000);
			}
			catch(Exception e)
			{

			}
		}

	}

}
